package com.zufe.Test5;

public class Test {
    public static void main(String[] args) {
        Manager m = new Manager("张三","1",10000,5000);
        Coder c = new Coder("李四","2",5000);

        System.out.println(m.getName() + " " + m.getId() + " " + m.getSalary() + " " + m.getBonus());
        System.out.println(c.getName() + " " + c.getId() + " " + c.getSalary());

        m.work();
        c.work();
    }
}
